<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        var dengji = 10;
        switch (dengji) {
            case 1:
                console.log('1等奖：10000元');
                break;
            case 2:
                console.log('2等奖：5000元');
                break;
            case 3:
                console.log('3等奖：1000元');
                break;
            case 4:
            case 5:
            case 6:
                console.log('参与奖：200块钱');
                break;
            default:
                console.log('纪念牌一个');
                break;
        }
    </script>
</body>

</html>